<form id="form">



 
<input type="hidden"  name="id" id="b_id" value="<?php echo $content['touroute']['id'];?>">
<input type="hidden" name="language" value="<?php echo $content['language']?>">
	<div class="detail_main">
		<div class="detail_lanuage">
			<span><a href="/business/touroute/listing">All tours</a> >  detail</span>
<ul>
		<?php 


	foreach ($header['language_mapper'] as $key => $value) { ?>

	<li data-lang="<?php echo $key;?>" class="<?php echo $content['language'] ==  $key ?'cur':'' ?>"><?php echo $value;?></li>

	<?php } ?>
</ul>




		</div>
		<div class="detail_title"><?php echo lang('touroute_words_images');?></div>


		<div class="detail_add_img">
		<input type="hidden" value="" name="images" class="detail_add_imginput">
			<div class="detail_imgul">
					<?php 
				foreach ($content['touroute']['images'] as $key => $value) { ?>

				<li><img data-imgkey="" src="<?php echo $value;?>" alt=""><div class="detail_imguldel"><img src="<?= $domain['static'] ?>business/images/del.png" alt="" /></div></li>

				<?php } ?>
			</div>
			<div class="detail_sss">
				<div class="add_rou">
					+
					<input name='file' type='file'  id="fileupload" />
				</div>
				<p>
					<?php echo lang('touroute_field_image_tips');?>
				</p>
			</div>
		</div>







	




		<div class="detail_title2"><?php echo lang('touroute_words_information');?></div>
		<div class="detail_des">
<div class="detail_des_name">
	<p class="left_name">
		<?php echo lang('touroute_field_name');?>
		<span>*</span>
	</p>
	<input type="text" class="input name_input" name="name" placeholder="Enter tour name" value="<?php echo $content['touroute']['name'];?>"></div>
<div class="detail_des_Location">
	<p class="left_name">
		<?php echo lang('touroute_field_location');?>
		<span>*</span>
	</p>
	<select class="input Country_input" name="country" data-Country="<?php echo $content['touroute']['country'] ?>" >
		
	</select>
	<select class="input City_input" name="city" data-City="<?php echo $content['touroute']['city'] ?>" >
	</select>
	<input type="text" class="input address_input" name="address" value="<?php echo $content['touroute']['address'];?>"><img class="map_icon" src="<?= $domain['static'] ?>business/images/map.png"  alt=""></div>



<div class="mapp"><div class="detail_des_map" id="map"></div>
	<div class="map_des"><?php echo lang('site_business_map_drag_to_mark_location');?></div></div>






 <input type="hidden" name="latitude" readonly id="lat">
 <input type="hidden" name="longitude" readonly id="lng">




<div class="Inventory">
	<p class="lefts_name">
		<?php echo lang('touroute_field_product_inventory');?>
		<span>*</span>
	</p>
	<input type="text" class="input" name="product_inventory" placeholder="Enter number" value="<?php echo $content['touroute']['product_inventory'];?>"></div>
<div class="Duration">
	<p class="lefts_name">
	<?php echo lang('touroute_field_duration');?>
		<span>*</span>
	</p>
	<input type="text" name="duration" class="input" placeholder="Enter number" value="<?php echo $content['touroute']['duration'];?>"></div>


	<div class="Price">
		<p class="lefts_name">
		Chanel Price
			<span>*</span>
		</p>
		<select name="channel_currency" class="channel_currency input">
				<?php 
			foreach ($header['currency_mapper'] as $key => $value) { 



?>
						<option value="<?php echo $key;?>" <?php echo ($key==$content['touroute']['channel_currency']) ?'selected="selected"':'' ?> ><?php echo $value;?></option>
						
			<?php } ?>






		</select>
		<input type="text" name="channel_amount" class="input channel_amount" placeholder="" value="<?php echo $content['touroute']['channel_amount'];?>"></div>








<div class="period " >
	<p class="lefts_name period_name">
		<?php echo lang('touroute_field_periods');?>
		<span>*</span>
	</p>
	<input type="hidden" name="periods" class="time_add" value="">


<?php 

if(!empty($content['touroute']['periods'])){ ?>
		<?php 
	foreach ($content['touroute']['periods'] as $key => $value) { ?>
	<div class="time">
		<input type="text" placeholder="00:00" value="<?php echo $value['begin'];?>">
		<p class="p">-</p>
		<input type="text" placeholder="00:00" value="<?php echo $value['end'];?>" >
	</div>
	<?php } ?>
<?php }else{ ?>
	<div class="time">
		<input type="text" placeholder="00:00" value="">
		<p class="p">-</p>
		<input type="text" placeholder="00:00" value="" >
	</div>
<?php  }?>

		



	
</div>
<div class="Guidelanguage">
	<p class="lefts_name Guidelanguage_name">
		<?php echo lang('touroute_field_languages');?>
		<span>*</span>
	</p>




	<?php 
foreach ($header['language_mapper'] as $key => $value) { 

	$checked = array_key_exists($key, $content['touroute']['languages']) ?'checked="checked"':'';



	?>


<label>
	<input type="checkbox" value="<?php echo $key;?>" name="languages[]" class="Guidelanguage_input"  <?php echo $checked;?>  >
	<?php echo $value;?></label>

<?php } ?>



		</div>
		<div class="Estimatedroutelength ">
<p class="lefts_name">
	<?php echo lang('touroute_field_mileage');?>
	<span>*</span>
</p>
<input type="text" name="mileage" class="input Estimatedroutelength_input" value="<?php echo $content['touroute']['mileage'];?>" >
<span class="km">KM</span>
		</div>
		<div class="Highlights">
<p class="lefts_name">
<?php echo lang('touroute_field_summary');?>
	<span>*</span>
</p>
<textarea class="Highlights_con" name="summary">
<?php
	if ($content['touroute']['summary']!= '' ){
		echo $content['touroute']['summary'];
	}else{
		echo lang('touroute_field_summary_tips');
	}
?>
</textarea>
		</div>
	</div>





	<div class="detail_des2">
<div class="detail_des2_title"><?php echo lang('touroute_words_overview');?></div>
		<p class="lefts_name">
			<?php echo lang('touroute_field_business_hour');?>
			<span>*</span>
		</p>
<textarea class="Businesshours_con" name="business_hour">
<?php
	if ($content['touroute']['business_hour']!= '' ){
		echo $content['touroute']['business_hour'];
	}else{
		echo lang('touroute_field_business_hour_tips');
	}
?>
</textarea>
		<p class="lefts_name">
				<?php echo lang('touroute_field_departure_time');?>
			<span>*</span>
		</p>
<textarea class="Departuretime_con" name="departure_time">
<?php
	if ($content['touroute']['departure_time']!= '' ){
		echo $content['touroute']['departure_time'];
	}else{
		echo lang('touroute_field_departure_time_tips');
	}
?>
</textarea>

		<p class="lefts_name">
			<?php echo lang('touroute_field_location');?>
			<span>*</span>
		</p>
<textarea class="Location_con" name="departure_point">
<?php
	if ($content['touroute']['departure_point']!= '' ){
		echo $content['touroute']['departure_point'];
	}else{
		echo lang('touroute_field_departure_point_tips');
	}
?>
</textarea>

		<p class="lefts_name">
			<?php echo lang('touroute_field_detail');?>
			<span>*</span>
		</p>
<textarea class="Routeintroduction_con" name="detail">
<?php
	if ($content['touroute']['detail']!= '' ){
		echo $content['touroute']['detail'];
	}else{
		echo lang('touroute_field_detail_tips');
	}
?>
</textarea>



<div class="detail_des2_title"><?php echo lang('touroute_words_cost_included');?></div>
		<p class="lefts_name">
			<?php echo lang('touroute_field_cost_inclusion');?>
			<span>*</span>
		</p>
<textarea class="Inclusions_con" name="cost_inclusion">
<?php
	if ($content['touroute']['cost_inclusion']!= '' ){
		echo $content['touroute']['cost_inclusion'];
	}else{
		echo lang('touroute_field_cost_inclusion_tips');
	}
?>
</textarea>

		<p class="lefts_name">
				<?php echo lang('touroute_field_cost_exclusion');?>
			<span>*</span>
		</p>
<textarea class="Exclusions_con" name="cost_exclusion">
<?php
	if ($content['touroute']['cost_exclusion']!= '' ){
		echo $content['touroute']['cost_exclusion'];
	}else{
		echo lang('touroute_field_cost_exclusion_tips');
	}
?>
</textarea>



<div class="detail_des2_title"><?php echo lang('touroute_words_booking_information');?></div>
		<p class="lefts_name">
		<?php echo lang('touroute_field_cancellation_policy');?>
			<span>*</span>
		</p>
<textarea class="CancellationPolicy_con" name="cancellation_policy">
<?php
	if ($content['touroute']['cancellation_policy']!= '' ){
		echo $content['touroute']['cancellation_policy'];
	}else{
		echo lang('touroute_field_cancellation_policy_tips');
	}
?>
</textarea>
		<p class="lefts_name">
			<?php echo lang('touroute_field_voucher_information');?>
			<span>*</span>
		</p>
<textarea class="Voucherinformation_con" name="voucher_information">
<?php
	if ($content['touroute']['voucher_information']!= '' ){
		echo $content['touroute']['voucher_information'];
	}else{
		echo lang('touroute_field_voucher_information_tips');
	}
?>
</textarea>
		<p class="lefts_name">
			<?php echo lang('touroute_field_participation_notice');?>
			<span>*</span>
		</p>
<textarea class="Noticeofparticipation_con" name="participation_notice">
<?php
	if ($content['touroute']['participation_notice']!= '' ){
		echo $content['touroute']['participation_notice'];
	}else{
		echo lang('touroute_field_participation_notice_tips');
	}
?>
</textarea>




	</div>
	<div class="detail_submit">
		<div class="submit_btn" id="submit_btn">Submit</div>
	</div>
</div>


</form>
